<template>
  <div class="car-page-wrapper">
    <!-- 导航栏 -->
    <!-- <div class="header">
      <navbar>
        <template #default>
          <router-link to="/car/car-mall">汽车商城</router-link>
          <router-link to="/car/community">社区</router-link>
          <router-link to="/car/order-management">工单管理</router-link>
        </template>
        <template #modal1>
          <cart />
        </template>
      </navbar>
    </div> -->
    <div class="body">
      <router-view></router-view>
    </div>
  </div>
</template>

<script setup lang="ts">
import navbar from "@/components/common/navbar/index.vue";
import cart from "@/components/car/cart/index.vue";
</script>

<style scoped>
.car-page-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
}
.body {
  flex: 1;
  width: 100%;
}
</style>
